import fetch from '../request.js'

// 商品列表查询 与 它库库存 列表
export function itLibraryList(params) {
	return fetch.request("/pekingFish/app/storageFormalWarehouse/page", "GET", params, true, false, false)
}

// 商品列表查询 默认展示
export function productPageAll(params) {
	return fetch.request("/pekingFish/app/storageFormalWarehouse/pageAll", "GET", params, true, false, false)
}

// 带排序
export function productPage(params) {
	return fetch.request("/pekingFish/app/storageFormalWarehouse/productPage", "POST", params, false, false, false)
}

// 商品详情
export function itLibraryDetails(params) {
	return fetch.request("/pekingFish/app/storageFormalWarehouse/getDetail", "GET", params, true, false, false)
}

// 仓库数据
export function warehouseByUser(params) {
	return fetch.request("/pekingfish/app/warehouse/getWarehouseByUserId", "GET", params, true, false, false)
}

// 所有仓库查询
export function getWarehouseLists(params) {
	return fetch.request("/pekingfish/app/warehouse/getWarehouseList", "GET", params, true, false, false, false)
}